/***********  样式重置  ************/
html{
  width: 100%;
  overflow: hidden;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  border: 0;
  -webkit-tap-highlight-color: $tm;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  -webkit-overflow-scrolling: touch;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "\200B";
  content: none;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
html {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
a {
  text-decoration: none;
}
a:link, a:visited {
  color:#000000;
}    

a:hover, a:active {
  color:#000000;
}
input, button {
  padding: 0;
  border: none;
  background: none;
  outline: none;
  -webkit-appearance: none;
}
textarea {
  outline: none;
  resize: none;
  -webkit-appearance: none;
}
/***********  常用样式配置  ************/
// 左浮动
.fl {
  float: left;
}
// 右浮动
.fr {
  float: right;
}
// 绝对定位
.ps-re {
  position: relative;
}
// 相对定位
.ps-ab {
  position: absolute;
}
// 固定定位
.ps-fx {
  position: fixed;
}
// 块属性
.block {
  display: block;
}
// 行属性
.inline {
  display: inline;
}
// 行块属性
.inline-block {
  display: inline-block;
}
// 伸缩属性
.flex {
  display: flex;
}
// 清浮动
.clearfix:after {
  display: block;
  content: '\200B';
  height: 0;
  clear: both;
}
// 子元素水平居中
.justify-center {
  @extend .flex;
  justify-content: center;
}
// 子元素垂直居中
.align-center {
  @extend .flex;
  align-items: center;
}
.center{
  text-align: center;
}
// 子元素水平垂直居中
.justify-align-center {
  @extend .justify-center;
  @extend .align-center;
}
// 显示省略号
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
// 全屏窗口
.full-screen-window {
  @extend .ps-fx;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
}
// 覆盖层（充满父元素）——即全屏窗口
.overlay {
  @extend .ps-ab;
  right: 0;
  bottom: 0;
  top: 0;
  left: 0;
  background: #000000;
  opacity: .5;
  z-index: -1;
}
// 移动端1px边框（边框算在宽高内）
.hairline {
  @extend .ps-re;
  border: none;
  &:after {
    border: none;
  }
}
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  .hairline:after {
    @include scale(0.5);
  }
}
@media screen and (-webkit-min-device-pixel-ratio: 3) {
  .hairline:after {
    @include scale(0.333);
  }
}
// 开启3d硬件加速
.cpu-3d {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -ms-perspective: 1000;
  perspective: 1000;
}
/***********  根据不同项目进行配置常用继承属性  ************/

#app {
  min-height: 100%;
  max-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
.view-content {
  position: absolute;
  top: 1.23rem;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden; 
  background: #fcfcfc;
}
.have-tabbar{
  bottom: 46px;
}
/***********  根据不同项目进行配置插件覆盖属性  ************/